import request from '@/utils/request'

// 查询体能测试列表
export function listStrengthtest(query) {
  return request({
    url: '/puyu/strengthtest/list',
    method: 'get',
    params: query
  })
}

// 查询体能测试详细
export function getStrengthtest(strengthTestId) {
  return request({
    url: '/puyu/strengthtest/' + strengthTestId,
    method: 'get'
  })
}

// 新增体能测试
export function addStrengthtest(data) {
  return request({
    url: '/puyu/strengthtest',
    method: 'post',
    data: data
  })
}

// 修改体能测试
export function updateStrengthtest(data) {
  return request({
    url: '/puyu/strengthtest',
    method: 'put',
    data: data
  })
}

// 删除体能测试
export function delStrengthtest(strengthTestId) {
  return request({
    url: '/puyu/strengthtest/' + strengthTestId,
    method: 'delete'
  })
}
